package com.example.yunbiji0314.service;

import com.example.yunbiji0314.pojo.Article;
import com.example.yunbiji0314.util.PageUtil;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ArticleService {

    PageInfo<Article> findByUserId(PageUtil pageUtil);

    int deleted(Integer id);

    Article findById(Integer id);

    int zengarticle(Article article);

    int update(Article article);

    List<Article> findByUserId02(Integer id);

    List<Article> chabyid(Integer id);
}
